<template>
    <div>
        <nav-bar>
            <div slot="center">购物车({{$store.state.cartList.length}})</div>
        </nav-bar>
        <cart-list></cart-list>
        <cart-bottom-bar></cart-bottom-bar>
    </div>
</template>

<script>
   import NavBar from '../../components/common/navbar/NavBar'
   import cartList from './cartList'
   import cartBottomBar from './cartBottomBar'
export default {
   name:'shop',
//组件
 components: {
    NavBar,
    cartList,
    cartBottomBar
 },
}
</script>

<style scoped>

</style>